package com.kkb.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Behospital {
    private Integer beH_id;

    private String beH_nursePeople;

    private String beH_patBed;

    private String beH_antecedent;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beH_inTime;

    private String beH_illness;

    private Integer beH_closePrice;

    private Integer beH_state;

    private Integer hosR_id;

    private Hosregister hosregister;

    @Override
    public String toString() {
        return "Behospital{" +
                "beH_id=" + beH_id +
                ", beH_nursePeople='" + beH_nursePeople + '\'' +
                ", beH_patBed='" + beH_patBed + '\'' +
                ", beH_antecedent='" + beH_antecedent + '\'' +
                ", beH_inTime=" + beH_inTime +
                ", beH_illness='" + beH_illness + '\'' +
                ", beH_closePrice=" + beH_closePrice +
                ", beH_state=" + beH_state +
                ", hosR_id=" + hosR_id +
                ", hosregister=" + hosregister +
                '}';
    }

    public Hosregister getHosregister() {
        return hosregister;
    }

    public void setHosregister(Hosregister hosregister) {
        this.hosregister = hosregister;
    }

    public Integer getBeH_id() {
        return beH_id;
    }

    public void setBeH_id(Integer beH_id) {
        this.beH_id = beH_id;
    }

    public String getBeH_nursePeople() {
        return beH_nursePeople;
    }

    public void setBeH_nursePeople(String beH_nursePeople) {
        this.beH_nursePeople = beH_nursePeople == null ? null : beH_nursePeople.trim();
    }

    public String getBeH_patBed() {
        return beH_patBed;
    }

    public void setBeH_patBed(String beH_patBed) {
        this.beH_patBed = beH_patBed == null ? null : beH_patBed.trim();
    }

    public String getBeH_antecedent() {
        return beH_antecedent;
    }

    public void setBeH_antecedent(String beH_antecedent) {
        this.beH_antecedent = beH_antecedent == null ? null : beH_antecedent.trim();
    }

    public Date getBeH_inTime() {
        return beH_inTime;
    }

    public void setBeH_inTime(Date beH_inTime) {
        this.beH_inTime = beH_inTime;
    }

    public String getBeH_illness() {
        return beH_illness;
    }

    public void setBeH_illness(String beH_illness) {
        this.beH_illness = beH_illness == null ? null : beH_illness.trim();
    }

    public Integer getBeH_closePrice() {
        return beH_closePrice;
    }

    public void setBeH_closePrice(Integer beH_closePrice) {
        this.beH_closePrice = beH_closePrice;
    }

    public Integer getBeH_state() {
        return beH_state;
    }

    public void setBeH_state(Integer beH_state) {
        this.beH_state = beH_state;
    }

    public Integer getHosR_id() {
        return hosR_id;
    }

    public void setHosR_id(Integer hosR_id) {
        this.hosR_id = hosR_id;
    }
}